-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated print and os_log calls to modern OSLog class. #129
Conversation
Update all print and OS_log calls to OSLog.
Update to OSLog
There are a few SwiftLint warnings. If you install SwiftLint locally, the warnings should show up in Xcode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good changes for the most part. A couple minor things to clean up.
Xcode has a setting that will help. Using the Xcode > Settings menu command, under the Text Editing tab, then the Editing tab, turn on the "Automatically trim trailing whitespace" and "Including whitespace-only lines" checkboxes. |
Co-authored-by: Kyle Hammond <[email protected]>
Just one more SwiftLint issue to resolve. |
Made data call non-optional to address swiftLint error Non-optional String -> Data Conversion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix for the last SwiftLint warning is part of PR #130
Update NetworkAuthManager.swift
Everything looking good! One last thing is to update the CHANGELOG.md about the logging. After that we can get this merged in. |
Replaced all print and os_log calls with OSLog class calls: https://developer.apple.com/documentation/os/oslog
This is to address Should use os_log instead of print function #112: #112